<html>
    <head>
        <title>Upload Form</title>
        <script type="text/javascript" src="<?=base_url();?>js/jquery-1.3.2.min.js"></script>
        <script language="javascript" type="text/javascript">
            $(document).ready(function(){
                $("#btn_send").click( function (e) {
                    e.preventDefault();
                    $("#frm_image").submit();
                });
            });

        </script>
        <script language="javascript" type="text/javascript">
            function mandala(){
            window.parent.CKEDITOR.tools.callFunction($funcNum, '$url', '$message');
            }
        </script>

    </head>
    <body>

        <form 
            enctype="multipart/form-data"
            method="post"
            id="frm_image" >
            Numero de la imagen _a _b _c <input type="text" name="nombre"  /><br>
            <input type="file" name="userfile" id="userfile" size="20" />
            <input type="hidden" name="id" value="<?=$id?>" />
            <input type="submit">
        </form>
    </body>
</html>